Slicer Settings in Discover Pro
Slicers are used to filter queries using hierarchy elements from the data model. Slicer settings allow you to change the way the slicer is visualized, the way it operates, and how it's styled.
Slicer Settings Panel
Configure the slicer preferences from the Slicer Settings panel. Start by clicking the slicer's context menu and select Settings:
The Slicer Settings panel will open along the bottom of the canvas. The panel features tabs along the left; each tab exposes options relating to various slicer settings.
Tip: If your Slicer is a Binary Parameter, the dialog only includes a subset of standard Slicer Settings. For more information, see Binary Parameter Settings in Discover Pro.
Type
The Type settings let you change the slicer's title and type:
- Title: Edit the slicer title.
- Type: Select a slicer type from the drop-down menu.
- Data Source: the Data Source panel displays the data source metadata, including the data source, database, data model, and the hierarchy used in the filter.
Slicer Type
The slicer type drop-down offers the following options:
- Drop Down: Adds a drop-down list that you can select one slice from.
- Multi Select Drop Down: Adds a drop-down list that you can select multiple slices from simultaneously.
- List Box: Adds a single-select list within a box container.
- Multi Select List Box: Adds a multi-select list within a box container.
- Text Box: Adds a textbox with drop-down.
- Buttons: Adds single-select buttons, rather than a list.
- Multi Select Buttons: Adds multi-select buttons.
- Multi Select Tree: Supports 'regular' hierarchies in both cube and SQL models. Adds a multi-select tree, which you can navigate through to find and select relevant elements.
- Single Select Tree: Supports 'regular' hierarchies in both cube and SQL models. Adds a single-select tree, which you can navigate through to find the relevant element.
- Date Calendar: This calendar tool is a specialized slicer visualization designed to make it easier to use date-time hierarchies and their associated calculations. The date-time picker is automatically generated at runtime when using the dateKey hierarchy to create a slicer. As with other slicers, the date-time picker slicer can be customized from the slicer settings.
Date-Time Pickers are only supported for SQL models. This functionality is not currently supported for MS OLAP, Tabular, or SAP BW.
Toggle slicers are a special slicer visualization type, that are only applicable with global binary parameters.
- Click here for more information about slicer types.
Load Time
The load time settings determine which of the slicer's elements will be automatically loaded when the report is opened.
Initial Selection Mechanism
The initial selection mechanism determines which slice will be automatically loaded when the user opens the report.
- Saved Selection by Name: select the initial slicer selection by name; this slicer will be selected by default whenever the report is opened.
- Saved Selection by Position: select the initial slicer selection by position; this slicer will be selected by default whenever the report is opened. This is useful if the slicer is based on a custom calculation that shows, for example, the top 10 products. You might want to automatically load the top selling product. In this case, the slicer position needs to be saved.
- First Member: automatically select the first member in the slicer whenever the report is opened.
- Last Member: automatically select the last member in the slicer whenever the report is opened.
Subsequent Selection Options
Subsequent selection options determine whether or not the user's slicer selection will be saved. If so, these selections will override the given 'initial selection mechanism'.
Remember user's last selection
Enable this option to save the current user's saved slicer selection. Each time the user saves the report, the currently selected slice will be saved, and that slice will automatically be loaded when the report is next opened by that user.
If this option is not enabled, the given 'initial selection mechanism' will be loaded every time the user opens the report.
Apply to slicer if cascaded
Select this option if the given slicer is being cascaded to. For instance, if you've configured a cascading slicer that cascades from Country down to State, check this option for the State slicer to apply the given slice value modes to State.
In this scenario, if Last Member is set as the load mode, then the last member in the state slicer will automatically be selected whenever a country is selected from the parent slicer. Then, when United States is selected from the country slicer, Wyoming will automatically be selected form the state slicer; when Australia is selected, Victoria will automatically be selected from the state slicer.
Slicer Elements Limit
Set the maximum number of slicer elements to include in the slicer. The limit set here cannot exceed the limit set from the user defaults.
Search Type
Set the search type; this will be applied to any slicer type that supports search (drop down, text box, and tree):
- Contains
- Not Contains
- Starts With
- Ends With
- Exact
Other Options
From the Other Options tab, you can disable and enable the filter button, background chips, and auto run for the slicer.
Disabling
The slicer features a filter button next to its context menu. This button is used to enable and disable the filter as needed. The filter is enabled by default, meaning that whenever the report is opened in Discover or Present, it's automatically filtered.
The default filter behavior can be disabled (meaning that by default, the visual will not be filtered unless the user enables the filter), or the filter button can be hidden entirely.
Hide Disable Button
Hide the disable button so that users cannot disable the slicer.
Disable
Change the default slicer behavior to disabled. When the report is opened in Discover, it won't be filtered unless the user enables the slicer by clicking its filter button or making a slicer selection.
Filtering can also be enabled or disabled from the slicer itself, by toggling the funnel icon.
Background Chip
Enable Background Chip
Select this option to enable background filtering for single elements. Click here to learn more.
Pre-query slicer
Pre-query slicers can be used to set the slicer selections for specified slicers and parameters on opening the discovery, before the query is loaded.
Enable
Select the Enable checkbox to indicate that the query should not be run until the user specifies their slicer selections. The effect of this selection is that the Pre-Query slicer dialog opens and the user is prompted to select either bookmarks or individual selections for their discovery, publication, or tabulation slicers in the Pre-Query slicer dialog.
Note: The Pre-Query slicer dialog opens automatically when you open the discovery, presentation, or tabulation in its app, the discovery in the Viewer, or the presentation at runtime. If you view the discovery or presentation in the Hub or as an Embedded visual, you will need to click the Make Pre-Selections option to open the Pre-query slicer dialog.
Apply default load mode
Use the Apply default load mode checkbox to indicate which options should be selected in the Pre-query slicer dialog by default:
- Select the checkbox to use the default slicer selection.
- Clear the checkbox to use the last selected slicer in the Pre-query slicer dialog.
- Click here for more information about Pre-Query Slicers
Auto Run
Controls the auto run behavior associated with this slicer. Clear the Auto Run checkbox to indicate that you do not want to apply new selections made from the slicer immediately. The purpose of this option is to allow users to only apply the filtering associated with their slicers once they are ready, perhaps once they have made all their intended slicer selections.
Enable or disable Auto Run for this slicer:
- When enabled, the filter applies automatically as soon as a new slice is selected. This is the default behavior.
- When disabled, the filter does not apply automatically (the query will not be run) when a new slice is selected; instead, a lightning bolt icon indicates that the slicer change needs to be applied manually.
Non Empty Filter
Go to the Non Empty Filter to hide empties from the slicer.
Hide Empty Hierarchy Members
Hide any members from the slicer if they don't have any value for the given measure.
Use Default Measure
By default, the option is selected when you enable Hide Empty Hierarchy Members. This means that hierarchy members with no values in the data model's default measure will be hidden from the slicer.
To hide empty hierarchy members using a different measure, deselect Use Default Measure. This will expose a Measures tree, from which you can choose the required measure.
Filter Drop Zone
The slicer type can also be changed by dragging the slicer chip over the filters heading in the drop zone. This will open the slicer types menu. The slicer chip can then be dropped onto the required slicer type.
You can also disable or enable the background chip by clicking the Filters zone context menu:
- Click here to learn more about the Filters drop zone.
Related information
Understanding Slicer Reuse
When a discovery is added to a presentation or publication, its slicer settings (defined in Discover) apply to the discovery by default even if the slicer isn't itself added. For example, if Accessories was the last selection made from a Product Category slicer in Discover, the discovery is filtered by Accessories when it's added to a presentation or publication. (This filtering is also reflected in the breadcrumb trail.) If you add the Product Category slicer to the same presentation or publication, you can override this selection.
Tip: To prevent this automatic filtering, disable the slicer in Discover before saving.